package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 用户管理对象 users
 * 
 * @author ruoyi
 * @date 2022-08-18
 */
public class Users extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 用户id */
    private Integer userId;

    /** 用户昵称 */
    @Excel(name = "用户昵称")
    private String userName;

    /** 用户密码 */
    private String userPass;

    /** 用户手机 */
    @Excel(name = "用户手机")
    private String userPhone;

    /** 用户邮箱 */
    @Excel(name = "用户邮箱")
    private String userEmail;

    /** 用户钱包 */
    @Excel(name = "用户钱包")
    private Long wallet;

    /** 用户头像 */
    @Excel(name = "用户头像")
    private String userImg;

    /** 盐 */
    private String salt;

    public void setUserId(Integer userId) 
    {
        this.userId = userId;
    }

    public Integer getUserId() 
    {
        return userId;
    }
    public void setUserName(String userName) 
    {
        this.userName = userName;
    }

    public String getUserName() 
    {
        return userName;
    }
    public void setUserPass(String userPass) 
    {
        this.userPass = userPass;
    }

    public String getUserPass() 
    {
        return userPass;
    }
    public void setUserPhone(String userPhone) 
    {
        this.userPhone = userPhone;
    }

    public String getUserPhone() 
    {
        return userPhone;
    }
    public void setUserEmail(String userEmail) 
    {
        this.userEmail = userEmail;
    }

    public String getUserEmail() 
    {
        return userEmail;
    }
    public void setWallet(Long wallet) 
    {
        this.wallet = wallet;
    }

    public Long getWallet() 
    {
        return wallet;
    }
    public void setUserImg(String userImg) 
    {
        this.userImg = userImg;
    }

    public String getUserImg() 
    {
        return userImg;
    }
    public void setSalt(String salt) 
    {
        this.salt = salt;
    }

    public String getSalt() 
    {
        return salt;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("userId", getUserId())
            .append("userName", getUserName())
            .append("userPass", getUserPass())
            .append("userPhone", getUserPhone())
            .append("userEmail", getUserEmail())
            .append("wallet", getWallet())
            .append("userImg", getUserImg())
            .append("salt", getSalt())
            .toString();
    }
}
